package com.beifu.manager.api.domain.warehouse;

/**
 * @Author: licy
 * @Date :  2018/6/26 16:17
 * @Last Modified by: licy
 * @Last Modified time:  2018/6/26 16:17
 */
public class RfidCarriageJson {
    private String rfid ;
    private String trainUnitID;

    public String getRfid() {
        return rfid;
    }

    public void setRfid(String rfid) {
        this.rfid = rfid;
    }

    public String getTrainUnitID() {
        return trainUnitID;
    }

    public void setTrainUnitID(String trainUnitID) {
        this.trainUnitID = trainUnitID;

    }


    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        RfidCarriageJson that = (RfidCarriageJson) o;

        return rfid != null ? rfid.equals(that.rfid) : that.rfid == null;
    }

    @Override
    public int hashCode() {
        return rfid != null ? rfid.hashCode() : 0;
    }
}